Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  

PreviousPrevious NextNext


~Denise Elremaroden 26.Nov.02 11:15 AM a Web browser
Notes Client 6.0 All Platforms


Testing some of my R5 databases on R6 server and client I came accross the following lotusscript problem:

I have a Form with a postopen script where I get the notesuidocument from the notesuiworkspace and eventually the background document to set default values etc.

This works as it allways has when the form or a document with this form is opened in its own window.

But if I open this form using a dialogbox from an lotusscript agent, getting the uidocument from uiworkspace in the postopen script fails!

Is this an R6 bug?

Form Postopen script:

Dim uiw As New notesuiworkspace
Dim uidoc As notesuidocument
Dim doc As notesdocument
Set uidoc=uiw.currentdocument
'uidoc is nothing when form opened in dialogbox
Set doc=uidoc.document

agent script opening the form:

Dim ses as new notessession
Dim db as notesdatabase
Dim doc as notesdocument
Dim uiw as new notesuiworkspace
Dim res as integer
Set db=ses.currentdatabase
Set doc=db.createdocument
res=uiw.DialogBox( "frmDlgNewStatus", True, True, False, False, False, False, "New status", doc)

Regards,
Christian Norbygaard






Cannot fetch ui document from ui wo... (~Denise Elremar... 26.Nov.02)
. . RE: Cannot fetch ui document from u... (~Delores Dwonic... 26.Nov.02)
. . . . RE: Cannot fetch ui document from u... (~Denise Elremar... 26.Nov.02)
. . . . RE: Cannot fetch ui document from u... (~Holly Minjipyb... 2.Jan.03)





  Document options
Print this pagePrint this page

 Search this forum

  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

 RSS feedsRSS
All forum posts RSS
All main topics RSS